package com.kede.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 【请填写作者】
 * @since 2020-03-30
 */
public class Promote implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 广告id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 广告内容
     */
    private String content;

    /**
     * 广告标题
     */
    private String title;

    /**
     * 广告背景图片路径
     */
    private String picture;

    /**
     * 广告跳转连接
     */
    private String connect;

    /**
     * 广告展示的位置id：8', '首页广告''9', '频道广告' '10', ' 列表广告''11', '详情广告'
     */
    private Long mid;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }
    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }
    public String getConnect() {
        return connect;
    }

    public void setConnect(String connect) {
        this.connect = connect;
    }
    public Long getMid() {
        return mid;
    }

    public void setMid(Long mid) {
        this.mid = mid;
    }

    @Override
    public String toString() {
        return "Promote{" +
            "id=" + id +
            ", content=" + content +
            ", title=" + title +
            ", picture=" + picture +
            ", connect=" + connect +
            ", mid=" + mid +
        "}";
    }
}
